PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Dialog Manager >

Mac OS 8.5 Dialog Manager Reference


GetModalDialogEventMask

Obtains the events to be received by the ModalDialog function.

pascal OSStatus GetModalDialogEventMask (
                     DialogPtr inDialog,
                     EventMask *outMask);
inDialog
A value of type DialogPtr . Pass a pointer to the dialog box for which you wish to obtain the event mask.
outMask
A pointer to a unsigned 16-bit integer of type EventMask . On return, your application may test the bits of this value to determine the event(s) that the dialog box is currently set to receive. See Inside Macintosh: Macintosh Toolbox Essentials for a description of event masks.
function result
A result code. See Result Codes for the Mac OS 8.5 Dialog Manager .

VERSION NOTES

Available with Mac OS 8.5 and later.


SEE ALSO

The function SetModalDialogEventMask .


© 1999 Apple Computer, Inc.